﻿using UnityEngine;
using System.Collections;

public class DestroyParentObject : MonoBehaviour {

	void DestroyObject()
	{
		Destroy(this.gameObject.transform.parent.gameObject);	
	}
	
}
